﻿using MediatR;
using System.ComponentModel.DataAnnotations;

namespace SystemMHB.API.Application.Command.ReturnWarehouseCommand
{
    public class ReturnWarehouseAddCommand:IRequest<int>
    {
        /// <summary>
        /// 返库ID
        /// </summary>
        public int rWId { get; set; }
        /// <summary>
        /// 返库编号
        /// </summary>
        public string? returnWarehouseNumber { get; set; }
        /// <summary>
        /// 出库编号
        /// </summary>
        public string? outboundNumber { get; set; }
        /// <summary>
        /// 出库数量
        /// </summary>
        public int outboundQuantity { get; set; }
        /// <summary>
        /// 原料编号
        /// </summary>
        public string? MaterialNumber { get; set; }
        /// <summary>
        /// 原料名称
        /// </summary>
        public string? rawMaterialName { get; set; }
        /// <summary>
        /// 原料批次号
        /// </summary>
        public string? rawMaterialLotNumber { get; set; }
        /// <summary>
        /// 返库数量
        /// </summary>
        public int returnWarehouseQuantity { get; set; }
        /// <summary>
        /// 返库状态
        /// </summary>
        public int returnStatus { get; set; }
        /// <summary>
        /// 删除标记
        /// </summary>
        public bool IsDel { get; set; }
        /// <summary>
        /// 添加人
        /// </summary>
        public string? AddName { get; set; }
        /// <summary>
        /// 返库原因
        /// </summary>
        public string? returnWarehouseCause { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }
    }
}
